remove begin/rescue and error logging in stubhub_agent to guard against failed web requests since it is redundant

Ryan Loomba 11 years ago
parent
commit
75ccbd5f8b
1 changed files with 1 additions and 6 deletions
  1. 1 6
      app/models/agents/stubhub_agent.rb

+ 1 - 6
app/models/agents/stubhub_agent.rb

@@ -43,18 +43,13 @@ module Agents
43 43
     end
44 44
 
45 45
     def fetch_stubhub_data(url)
46
-      begin
47
-        StubhubFetcher.call(url)
48
-      rescue
49
-        log("There was an error fetching data for your StubHub Event")
50
-      end
46
+      StubhubFetcher.call(url)
51 47
     end
52 48
 
53 49
     class StubhubFetcher
54 50
 
55 51
       def self.call(url)
56 52
         new(url).fields
57
-
58 53
       end
59 54
 
60 55
       def initialize(url)